package com.xspace.android.xafcommon.been;

import android.graphics.drawable.Drawable;

import com.thoughtworks.xstream.annotations.XStreamAlias;


/**
 * @version V1.0.0
 * @ClassName: package-info
 * @author:guankui
 * @Date：2014年3月17日
 * @Description: TODO
 */

@XStreamAlias("AppConfig")
public class AppInfoBean {
    @XStreamAlias("appName")
    public String appName = "";
    public String packageName = "";
    public String versionName = "";
    public int versionCode = 0;
    @XStreamAlias("WXAppId")
    public String WXAppId = "";
    @XStreamAlias("WXAppSecret")
    public String WXAppSecret = "";
    @XStreamAlias("BaiduAppKey")
    public String BaiduAppKey = "";

    public Drawable appIcon = null;

    @XStreamAlias("AppID")
    public String app_id = "";
    @XStreamAlias("appLogo")
    public String app_logo = "";


    public String url = "";
    public String note = "检测到新版本，是否下载？";
    public String tag = "0";//0不强制，1强制
    //news
    @XStreamAlias("PlatCode")
    public String app_platcode = "";
    @XStreamAlias("DepartmentName")
    public String app_deptname = "";
    @XStreamAlias("DepartmentId")
    public String app_deptid = "";
    public String app_dept_areacode = "";
    public String app_orghxid = "";
    @XStreamAlias("AppVersion")
    public String app_version = "";
    @XStreamAlias("appVid")
    public String app_verid = "";
    public String version = "";

    @Override
    public String toString() {
        return "AppInfoBean{" +
                "appName='" + appName + '\'' +
                ", packageName='" + packageName + '\'' +
                ", versionName='" + versionName + '\'' +
                ", versionCode=" + versionCode +
                ", appIcon=" + appIcon +
                ", app_id='" + app_id + '\'' +
                ", url='" + url + '\'' +
                ", note='" + note + '\'' +
                ", tag='" + tag + '\'' +
                ", app_platcode='" + app_platcode + '\'' +
                ", app_deptname='" + app_deptname + '\'' +
                ", app_deptid='" + app_deptid + '\'' +
                ", app_dept_areacode='" + app_dept_areacode + '\'' +
                ", app_orghxid='" + app_orghxid + '\'' +
                ", app_version='" + app_version + '\'' +
                ", version='" + version + '\'' +
                '}';
    }
}
